<extend name="Public:base" />

<block name="style">
	<style>
        .main{width:830px;}
        a{text-decoration: none;}

        .yi{width: 788px;border:1px solid #E0E0E0;padding-bottom: 10px;}
        .er{width:778px;height:53px;background: #ECF3F7;.font-size: 18px;padding-left: 10px;font-weight: normal;line-height: 53px;}
        .gods{width:778px;height:120px;border-bottom:1px dotted #ccc;}
        .gods div{float:left;font-family:"Microsoft YaHei";font-size:13px;}
        
	</style>
</block>

<block name="main">
    <div class="main">
        
    	<div class="mainbg"></div>
        <div class="appraise-manage">
            <div class="photo-tab">
                <span class="other-text">商品只能评价一次，请认真客观评价。</span>
                <ul class="clearfix">
                    <li class="hover">我发出的评价</li>
                </ul>
            </div>
            
            <foreach name="com" item="val">
            <if condition="$val.sg eq 1">
                <div style="width:788px;height:100%;border:1px solid #E0E0E0">
                    <p class="no-appraise">该筛选条件下没有任何评价哦。</p>
                </div>
            <else />
            <div class="yi">              
                <h4 class="er">订单编号：{$val.orderid}</h4> 
                <div class="gods">                
                    <div style="width:160px;height:110px;">
                        <img src="__ROOT__/Uploads/{$val.picname}" style="width:100px;height:100px;border:1px solid #058ED8;margin-top:11px;margin-left:30px;overflow:hidden">
                    </div>                  
                    <div style="width:320px;height:110px;">
                        <table width="400px">
                            <tr style="height:50px">
                                <td style="color:#058ED8"><a href="{:U('Goods/detail?id='.$val['goodsid'])}">{$val.name}</a></td>
                                <td style="color:#058ED8">{$val.ctime}</td>                              
                            </tr>
                            <tr style="height:30px">
                                <td style="font-weight:700">{$val.price}</td>
                                <td colspan="2">评论等级：{$val.clevel}</td>
                            </tr>
                            <!--
                            <tr style="height:30px">
                                <td style="font-weight:700">{$val.num}</td>
                            </tr>-->
                        </table>
                    </div>
                    <div style="width:230px;height:110px;">
                        <h5 style="color:#EB5800">评论内容：{$val.content}</h5>
                    </div>
                </div>
                <if condition="$val.reply neq NULL">
                <div style="width:736px;padding:15px;line-height:24px; height:100%;border:1px solid #E0E0E0;">
                    <span style="color:#EB5800"><h4>商家回复：</h4>{$val.reply}</span>
                </div>
                </if>
            </div>
            </if>
            </foreach>

        </div>
    </div>
</block>
